package com.alien.okcoin.utils;

public  class Utils {
	public static String JsonRevise(String jsonString) {
		if (jsonString.startsWith("[")
			& jsonString.endsWith("]")){
			return jsonString.substring(1, jsonString.length()-1);
		}else {
			return jsonString;
		}
	}
	
	public static String getChannelJsonHeader(String channelName) {
		return "[{ \"channel\":\""+ channelName;
	}
}
